package com.horsen.service.edu.model.DTO;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 课程新增DTO
 *
 * @author Horsen
 */
@Data
@ApiModel("课程新增DTO")
public class CourseInsertDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("课程讲师ID")
    private String teacherId;

    @ApiModelProperty("课程科目ID")
    private String subjectId;

    @ApiModelProperty("课程科目父ID")
    private String subjectParentId;

    @ApiModelProperty("课程标题")
    private String title;

    @ApiModelProperty("课程售价(0免费)")
    private BigDecimal price;

    @ApiModelProperty("总课时")
    private Integer lessonNum;

    @ApiModelProperty("课程封面")
    private String cover;

    @ApiModelProperty("课程介绍")
    private String description;
}
